<include file="App/Admin/View/Public/left.html"/>
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/kindeditor/kindeditor.js"></script>
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/kindeditor/lang/zh_CN.js"></script>
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/kindeditor/plugins/prettify.js"></script>
<div class="admin">
<div class="panel admin-panel margin-top" id="add">
  <div class="panel-head"><strong><span class="icon-pencil-square-o"></span>用户修改 </strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="{:U('User/editdo')}" enctype="multipart/form-data">  
    <input type="hidden" name="id" value="{$list['id']}">      
      <div class="form-group">
        <div class="label">
          <label>用户名：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$list['username']}" disabled="disabled" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>密码：</label>
        </div>
        <div class="field">
          <input type="password" class="input w50" name="password" placeholder="不填写则默认为原密码" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>邮箱：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$list['email']}" name="email" data-validate="required:请输入邮箱" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>电话：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$list['phone']}" name="phone" data-validate="required:请输入电话" />
          <div class="tips"></div>
        </div>
      </div>
      <if condition="($list['status'] NEQ 0)">
      <div class="form-group">
        <div class="label">
          <label>权限：</label>
        </div>
        <div class="field">
        <label> <input type="radio" name="status" value="1" <eq name="list['status']" value="1"> checked="checked" </eq> >启用</label>
        <label> <input type="radio" name="status" value="2" <eq name="list['status']" value="2"> checked="checked" </eq> >禁用</label>
          <div class="tips"></div>
        </div>
      </div>
      </if>
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>
</div>
</div>